
	<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="ie=edge">
		<title>{{.Tpl.Title}}</title>
		<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
		<style>
		/*footer*/
		.footer{
			margin-top: 30px;
			text-align: center;
		}
		.footer-copy{
			font-weight: 600;
		}
		.footer-link a{
			color: #d44413;
		}
		</style>
	</head>
	<body>
	<nav class="navbar navbar-default">
		<div class="container-fluid">

			<!--Navbar-collapse and navbar-brand-->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">Beego</a>
			</div>

			<!--Navbar-links-->
			<div class="collapse navbar-collapse" id="navbar-collapse">
				<ul class="navbar-nav nav">
					<li id="index"><a href="{{urlfor "MainController.Get"}}">Index</a></li>
					<li id="article"><a href="{{urlfor "PjArticleController.Get"}}">PjArticle</a></li><li id="type"><a href="{{urlfor "PjTypeController.Get"}}">PjType</a></li>
				</ul>

				<!--Navbar-widgets-->
				<form action="#" class="navbar-form navbar-right">
					<div class="form-group">
						<input type="text" name="" id="" class="form-control pull-left" placeholder="Search">
						<button class="btn btn-info pull-right">Search</button>
					</div>
				</form>

			</div>

		</div>
	</nav>

	<!--Content and Main-->
	<div class="container">

		{{if .Tpl.Success}}
		<!-- Session Message Success -->
		<div class="alert alert-success" role="alert">
			<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<strong>Success! </strong>{{.Tpl.Success}}
		</div>
		{{end}}
		{{if .Tpl.Danger}}
		<!-- Session Message Danger -->
		<div class="alert alert-danger" role="alert">
			<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			<strong>Danger! </strong>{{.Tpl.Danger}}
		</div>
		{{end}}

		<!-- Content Output -->
		{{.LayoutContent}}
		
		</div>

		<!--footer-->
		<div class="footer">
			<div class="footer-copy">© BeegoCURD 2017. All rights reserved.</div>
			<div class="footer-link">
				<a href="https://my.oschina.net/u/3090506" target="_blank">OSC</a>
				<a href="https://gitee.com/Lione" target="_blank">Gitee</a>
				<a href="mailto:harikisei@live.com">Live</a>
			</div>
		</div>

		</body>
		<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
		<script src="https://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
		<script>
		// 导航栏Active
		var dropdown = $('#content').attr('data-dropdown');
		var el = $('#content').attr('data-el');
		$('#'+el).addClass('active');
		if (dropdown == "true"){
			var el_next = $('#content').attr('data-el-next');
			$('#'+el_next).addClass('active');
		}
		</script>
	</html>
	